package screen.window;

import java.awt.Graphics;
import java.util.List;

import screen.item.TextButton;

import gameTypes.Drawable;

public abstract class InterfaceWindow implements Drawable {

	/* Constants */
	protected int HEIGHT;
	protected int WIDTH;
	
	/* State */
	protected boolean dragging;
	
	/* Variables */
	protected int windowX;
	protected int windowY;
	protected float windowZoom;
	protected float windowFade;
	protected List<TextButton> windowButtons;
	protected boolean windowShow;
	
	public void show() {
		windowShow = true;
	}
	
	public void hide() {
		windowShow = false;
		windowZoom = 0f;
		windowFade = 0f;
		dragging = false;
	}
	
	public abstract void Load();
	
	@Override
	public abstract void Update(float elapsed);

	@Override
	public abstract void Draw(Graphics graphics);

}
